<?php
/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2020/8/10 0010
 * Time: 21:50
 */

define("MYSQL_HOST","47.98.35.71");
define("MYSQL_USERNAME","mcres");
define("MYSQL_PASSWORD","L4FYsAfJ5hdP5iiy");
define("MYSQL_DATABASE","mcres");

define("TABLE_DONATION","donation");
define("TABLE_PLUGINLIST","pluginlist");
define("TABLE_USER","user");

// 返回代码定义
// 1** 为异常代码
// 2** 成功

define("CODE_CONNECT_FAILED",100);
define("CODE_UNKNOWN_METHOD",101);
define("CODE_REGISTER_USERNAME_EXIST",102);
define("CODE_REGISTER_FAILED",103);
define("CODE_LOGIN_FAILED",104);
define("CODE_LOGIN_USERNAME_NOTEXIST",105);

define("CODE_REGISTER_SUCCESS",200);
define("CODE_LOGIN_SUCCESS",201);

